#ifndef APPOINTMENT_H
#define APPOINTMENT_H

#include <QString>
#include <QDate>

class Appointment {
private:
    int appointmentID;
    int patientID;
    int doctorID;
    QDate appointmentDate;
    QString status; // "Scheduled", "Completed", "Cancelled"

public:
    Appointment() = default;
    Appointment(int id, int pID, int dID, const QDate& date, const QString& stat);
    int getAppointmentID() const;
    void setAppointmentID(int id);
    int getPatientID() const;
    void setPatientID(int id);
    int getDoctorID() const;
    void setDoctorID(int id);
    QDate getAppointmentDate() const;
    void setAppointmentDate(const QDate& date);
    QString getStatus() const;
    void setStatus(const QString& stat);
};

#endif // APPOINTMENT_H
